<!DOCTYPE html>
<html>
<body onload="click()">
<script>
if (window.testRunner) {
    testRunner.dumpAsText();
    testRunner.waitUntilDone();
}

function click() {
    if (window.eventSender) {
        var a = document.getElementById("a");
        eventSender.mouseMoveTo(a.offsetLeft + 2, a.offsetTop + 2);
        eventSender.mouseDown();
        eventSender.mouseUp();
    }
}
</script>
<a id="a" href="javascript:document.location.href='resources/success-notify-done.html'">Click me</a>
</body>
</html>
